/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model.dao.services;

import java.awt.Robot;
import java.util.List;
import model.enetities.Account;
import model.enetities.Role;
import model.enetities.UserProfile;

/**
 *
 * @author Hieu.Nguyen
 */
public interface AccountDAOServices {

    public List<Account> getAccounts();

    public Account getAccountByID(int idAccount);

    public Account getAccountByName(String userName);

    public Role getRoleByID(int idRole);

    public Role getRoleByName(String nameRole);

    public boolean createAccount(Account account);

    public boolean updateAccount(Account account);

    public boolean deleteAccount(int idAccount);

    public boolean checkLogin(Account account);

    public boolean onlyAccount(String account);

}
